package com.ycxy.springbootmybatis.entity;


import java.io.Serializable;
import java.util.Date;


/**
* 
* @TableName comment
*/
public class Comment implements Serializable {

    /**
    * 评论ID
    */

    private Integer id;
    /**
    * 博客ID
    */

    private Integer blogId;
    /**
    * 评论用户ID
    */

    private Integer userId;
    /**
    * 评论内容
    */

    private String content;
    /**
    * 创建时间
    */

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", blogId=" + blogId +
                ", userId=" + userId +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
